package filters;

public class SexFilter implements IFilter{

	private boolean sexo;

	@Override
	public String getQuery() {
		String s;
		if(sexo)
			s="M";
		else
			s="F";
		return "m.Sexo = '"+s+"'";
	}

	public SexFilter(boolean sexo) {
		super();
		this.sexo = sexo;
	}	
	
	
}
